package com.lxy.controller;

import com.lxy.service.HouseService;
import com.lxy.service.impl.HouseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 请不要模仿我
 *
 * @author lxy
 * @date 2022/10/2 21:40
 * com.lxy.controller.
 */
@Controller
@RequestMapping("/house")
//house/findAll
public class HouseController {
    @Autowired
    private HouseServiceImpl houseim;
    @RequestMapping("/findAll")
    public String findAll(){

        return "forward:/view/flats.jsp";
    }
}
